<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>访客注册</title>
</head>
<style>
    body {
        font-family: Arial, sans-serif;
        background: url(images/bg9.jpg);
    }

    h2 {
        margin-bottom: 20px;
        text-align: center;
    }

    form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    label {
        margin-bottom: 5px;
    }

    input {
        padding: 5px;
        margin-bottom: 10px;
        width: 200px;
    }

    input[type="submit"] {
        background-color: #4CAF50;
        color: white;
        padding: 10px 20px;
        border: none;
        cursor: pointer;
    }

</style>

<body>
<h2>访客注册</h2>
<form action="/register" method="post">
    账号：<input type="text" name="userid" placeholder="请创建账号名"> <br><br>
    密码：<input type="password" name="userpassword" placeholder="请创建密码"> <br><br>
    确认密码：<input type="password" name="password2" id="password2" placeholder="请确认密码"> <br><br>
    <input type="submit" value="点击注册">
</form>
</body>
</html>